home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / csteqr.z / csteqr
Encoding:
Text File  |  2002-10-03  |  4.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCSSSSTTTTEEEEQQQQRRRR((((3333SSSS))))                                                          CCCCSSSSTTTTEEEEQQQQRRRR((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CSTEQR - compute all eigenvalues and, optionally, eigenvectors of a
  10.      symmetric tridiagonal matrix using the implicit QL or QR method
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE CSTEQR( COMPZ, N, D, E, Z, LDZ, WORK, INFO )
  14.  
  15.          CHARACTER      COMPZ
  16.  
  17.          INTEGER        INFO, LDZ, N
  18.  
  19.          REAL           D( * ), E( * ), WORK( * )
  20.  
  21.          COMPLEX        Z( LDZ, * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      CSTEQR computes all eigenvalues and, optionally, eigenvectors of a
  38.      symmetric tridiagonal matrix using the implicit QL or QR method. The
  39.      eigenvectors of a full or band complex Hermitian matrix can also be found
  40.      if CHETRD or CHPTRD or CHBTRD has been used to reduce this matrix to
  41.      tridiagonal form.
  42.  
  43.  
  44. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  45.      COMPZ   (input) CHARACTER*1
  46.              = 'N':  Compute eigenvalues only.
  47.              = 'V':  Compute eigenvalues and eigenvectors of the original
  48.              Hermitian matrix.  On entry, Z must contain the unitary matrix
  49.              used to reduce the original matrix to tridiagonal form.  = 'I':
  50.              Compute eigenvalues and eigenvectors of the tridiagonal matrix.
  51.              Z is initialized to the identity matrix.
  52.  
  53.      N       (input) INTEGER
  54.              The order of the matrix.  N >= 0.
  55.  
  56.      D       (input/output) REAL array, dimension (N)
  57.              On entry, the diagonal elements of the tridiagonal matrix.  On
  58.              exit, if INFO = 0, the eigenvalues in ascending order.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCSSSSTTTTEEEEQQQQRRRR((((3333SSSS))))                                                          CCCCSSSSTTTTEEEEQQQQRRRR((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      E       (input/output) REAL array, dimension (N-1)
  75.              On entry, the (n-1) subdiagonal elements of the tridiagonal
  76.              matrix.  On exit, E has been destroyed.
  77.  
  78.      Z       (input/output) COMPLEX array, dimension (LDZ, N)
  79.              On entry, if  COMPZ = 'V', then Z contains the unitary matrix
  80.              used in the reduction to tridiagonal form.  On exit, if INFO = 0,
  81.              then if COMPZ = 'V', Z contains the orthonormal eigenvectors of
  82.              the original Hermitian matrix, and if COMPZ = 'I', Z contains the
  83.              orthonormal eigenvectors of the symmetric tridiagonal matrix.  If
  84.              COMPZ = 'N', then Z is not referenced.
  85.  
  86.      LDZ     (input) INTEGER
  87.              The leading dimension of the array Z.  LDZ >= 1, and if
  88.              eigenvectors are desired, then  LDZ >= max(1,N).
  89.  
  90.      WORK    (workspace) REAL array, dimension (max(1,2*N-2))
  91.              If COMPZ = 'N', then WORK is not referenced.
  92.  
  93.      INFO    (output) INTEGER
  94.              = 0:  successful exit
  95.              < 0:  if INFO = -i, the i-th argument had an illegal value
  96.              > 0:  the algorithm has failed to find all the eigenvalues in a
  97.              total of 30*N iterations; if INFO = i, then i elements of E have
  98.              not converged to zero; on exit, D and E contain the elements of a
  99.              symmetric tridiagonal matrix which is unitarily similar to the
  100.              original matrix.
  101.  
  102. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  103.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  104.  
  105.      This man page is available only online.
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.